import type { HouseDetails } from '../types/house'; 
import { http } from '../utils/http'
export const getHouseDetails = (contractId:number) => {
  return http<HouseDetails>({
    method: 'GET',
	url: `/app/house/${contractId}`
  })
};
export const getPdf = (contractId:number) => {
  return http({
    method: 'GET',
	url: `/app/contract/pdf/${contractId}`
  })
};

// export const getContractList = (data?:any) => {
//   return http<any>({
//     method: 'GET',
// 	url: `/app/contract/list`,
// 	data
//   })
// };